Changeset bac3988 in sasview for src/sas/sasgui/perspectives/calculator
- Timestamp:
- Mar 17, 2016 11:08:10 AM (9 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 1c628f0
- Parents:
- a301204
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/model_editor.py
rd85c194 rbac3988 574 574 if not self.is_p1_custom: 575 575 line = line.replace('#', '') 576 out_f.write(line % (name1 , name1) + "\n")576 out_f.write(line % (name1) + "\n") 577 577 else: 578 578 out_f.write(line + "\n") … … 586 586 if not self.is_p2_custom: 587 587 line = line.replace('#', '') 588 out_f.write(line % (name2 , name2) + "\n")588 out_f.write(line % (name2) + "\n") 589 589 else: 590 590 out_f.write(line + "\n") … … 1265 1265 # User can change the name of the model (only with single functional model) 1266 1266 #P1_model: 1267 #from sas .models.%s import %s as P11267 #from sasmodels.models import %s as P1 1268 1268 #from %s import Model as P1 1269 1269 1270 1270 #P2_model: 1271 #from sas .models.%s import %s as P21271 #from sasmodels.models import %s as P2 1272 1272 #from %s import Model as P2 1273 1273 import os
Note: See TracChangeset
for help on using the changeset viewer.