Changeset 0267d56 in sasview for src/sas/sasgui/perspectives/file_converter/converter_panel.py
- Timestamp:
- Jul 20, 2017 7:03:45 AM (7 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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 59decb81
- Parents:
- eacc0b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/file_converter/converter_panel.py
reacc0b0 r0267d56 36 36 _STATICBOX_WIDTH = 410 37 37 _BOX_WIDTH = 200 38 PANEL_SIZE = 48038 PANEL_SIZE = 520 39 39 FONT_VARIANT = 0 40 40 else: … … 42 42 _STATICBOX_WIDTH = 430 43 43 _BOX_WIDTH = 200 44 PANEL_SIZE = 5 0044 PANEL_SIZE = 540 45 45 FONT_VARIANT = 1 46 46 … … 510 510 511 511 instructions = ( 512 "Select linked single column 1D ASCII files containing the Q-axis and " 513 "Intensity-axis data, or 1D BSL/OTOKO files, or a 2D BSL/OTOKO file, " 514 "then choose where to save the converted file, and click Convert.\n" 515 "1D ASCII and BSL/OTOKO files can be converted to CanSAS (XML) or " 516 "NXcanSAS (HDF5) formats. 2D BSL/OTOKO files can only be converted to " 517 "the NXcanSAS format.\n" 512 "If converting a 1D dataset, select linked single-column ASCII files " 513 "containing the Q-axis and intensity-axis data, or a 1D BSL/OTOKO file." 514 " If converting 2D data, select an ASCII file in the ISIS 2D file " 515 "format, or a 2D BSL/OTOKO file. Choose where to save the converted " 516 "file and click convert.\n" 517 "One dimensional ASCII and BSL/OTOKO files can be converted to CanSAS " 518 "(XML) or NXcanSAS (HDF5) formats. Two dimensional datasets can only be" 519 " converted to the NXcanSAS format.\n" 518 520 "Metadata can be optionally added for the CanSAS XML format." 519 521 ) … … 660 662 661 663 def __init__(self, parent=None, title='File Converter', base=None, 662 manager=None, size=(PANEL_SIZE * 1.05, PANEL_SIZE / 1.1),664 manager=None, size=(PANEL_SIZE * 0.96, PANEL_SIZE * 0.9), 663 665 *args, **kwargs): 664 666 kwargs['title'] = title
Note: See TracChangeset
for help on using the changeset viewer.