Changeset 9706d88 in sasview for src/sas/sascalc/fit/models.py


Ignore:
Timestamp:
Sep 22, 2017 12:21:37 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
d3b0c77, 574adc7
Parents:
ab0b93f
Message:

merge fixups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/fit/models.py

    r69363c7 r9706d88  
    9595    path = os.path.join(os.path.expanduser("~"), '.sasview', PLUGIN_DIR) 
    9696 
    97     # TODO: initializing ~/.sasview/plugin_models doesn't belong in sascalc 
     97    # TODO: trigger initialization of plugins dir from installer or startup 
    9898    # If the plugin directory doesn't exist, create it 
    9999    if not os.path.isdir(path): 
    100100        os.makedirs(path) 
    101101    # TODO: should we be checking for new default models every time? 
    102     initialize_plugins_dir(path) 
     102    # TODO: restore support for default plugins 
     103    #initialize_plugins_dir(path) 
    103104    return path 
    104105 
     
    106107def initialize_plugins_dir(path): 
    107108    # TODO: There are no default plugins 
     109    # TODO: Default plugins directory is in sasgui, but models.py is in sascalc 
    108110    # TODO: Move default plugins beside sample data files 
    109111    # TODO: Should not look for defaults above the root of the sasview install 
Note: See TracChangeset for help on using the changeset viewer.