cohere-ui 4.2.2__tar.gz → 4.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/PKG-INFO +1 -1
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/common.py +3 -3
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamline_visualization.py +3 -3
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/Petra3_P10/beam_tabs.py +1 -1
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_1ide/beam_tabs.py +1 -1
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_34idc/beam_tabs.py +1 -1
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/cohere_gui.py +4 -4
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui.egg-info/PKG-INFO +1 -1
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/setup.py +1 -1
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/LICENSE +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/README.md +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/__init__.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/__init__.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/auto_data.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/balancer.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/convertconfig.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/host_utils.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/mpi_cmd.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/multipeak.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/postprocess_utils.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/reconstruction_ga.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/reconstruction_populous.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/reconstruction_populous_ga.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/symdata.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/te_preprocess.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/te_rec.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/api/view_reconstruction.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamline_preprocess.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/Petra3_P10/RSM_post_processing.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/Petra3_P10/__init__.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/Petra3_P10/beam_verifier.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/Petra3_P10/detectors.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/Petra3_P10/diffractometers.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/Petra3_P10/instrument.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/Petra3_P10/p10_scan_reader.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/Petra3_P10/preprocessor.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_1ide/__init__.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_1ide/beam_verifier.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_1ide/detectors.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_1ide/diffractometers.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_1ide/instrument.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_1ide/preprocessor.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_34idc/__init__.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_34idc/beam_verifier.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_34idc/detectors.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_34idc/diffractometers.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_34idc/instrument.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/aps_34idc/preprocessor.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/esrf_id01/__init__.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/esrf_id01/beam_tabs.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/esrf_id01/beam_verifier.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/esrf_id01/detectors.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/esrf_id01/diffractometers.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/esrf_id01/instrument.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/esrf_id01/preprocessor.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/simple/__init__.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/simple/beam_verifier.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/simple/detectors.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/simple/diffractometers.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/simple/instrument.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/beamlines/simple/preprocessor.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/copy_setup.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/create_experiment.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/everything.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/run_reconstruction.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/simple_phasing.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui/standard_preprocess.py +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui.egg-info/SOURCES.txt +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui.egg-info/dependency_links.txt +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui.egg-info/requires.txt +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/cohere_ui.egg-info/top_level.txt +0 -0
- {cohere_ui-4.2.2 → cohere_ui-4.2.4}/setup.cfg +0 -0
|
@@ -60,10 +60,10 @@ def get_config_maps(experiment_dir, configs, **kwargs):
|
|
|
60
60
|
# the configuration file applies to specific beamline and needs to be imported
|
|
61
61
|
beamline = main_config_map.get('beamline', None)
|
|
62
62
|
if beamline is None:
|
|
63
|
-
raise ValueError(f'cannot import beamlines.{beamline} module, exiting.')
|
|
64
|
-
# return f'cannot import beamlines.{beamline} module, exiting.', maps, None
|
|
63
|
+
raise ValueError(f'cannot import cohere_ui.beamlines.{beamline} module, exiting.')
|
|
64
|
+
# return f'cannot import cohere_ui.beamlines.{beamline} module, exiting.', maps, None
|
|
65
65
|
import importlib
|
|
66
|
-
beam_ver = importlib.import_module(f'beamlines.{beamline}.beam_verifier')
|
|
66
|
+
beam_ver = importlib.import_module(f'cohere_ui.beamlines.{beamline}.beam_verifier')
|
|
67
67
|
else:
|
|
68
68
|
beam_ver = None
|
|
69
69
|
|
|
@@ -51,11 +51,11 @@ def process_dir(config_maps, res_dir_scan):
|
|
|
51
51
|
config_map = config_maps['config']
|
|
52
52
|
beamline = config_map["beamline"]
|
|
53
53
|
try:
|
|
54
|
-
instr_module = importlib.import_module(f'beamlines.{beamline}.instrument')
|
|
54
|
+
instr_module = importlib.import_module(f'cohere_ui.beamlines.{beamline}.instrument')
|
|
55
55
|
except Exception as e:
|
|
56
56
|
print(e)
|
|
57
|
-
print(f'cannot import beamlines.{beamline}.instrument module.')
|
|
58
|
-
return (f'cannot import beamlines.{beamline}.instrument module.')
|
|
57
|
+
print(f'cannot import cohere_ui.beamlines.{beamline}.instrument module.')
|
|
58
|
+
return (f'cannot import cohere_ui.beamlines.{beamline}.instrument module.')
|
|
59
59
|
|
|
60
60
|
instr_obj = instr_module.create_instr(config_maps)
|
|
61
61
|
if instr_obj is None:
|
|
@@ -484,7 +484,7 @@ class SubInstrTab():
|
|
|
484
484
|
msg_window ('cannot parse fio, diffractometer not defined')
|
|
485
485
|
return
|
|
486
486
|
|
|
487
|
-
import beamlines.Petra3_P10.diffractometers as diff
|
|
487
|
+
import cohere_ui.beamlines.Petra3_P10.diffractometers as diff
|
|
488
488
|
|
|
489
489
|
if diffractometer not in diff.diffs.keys():
|
|
490
490
|
msg_window (f'diffractometer {diffractometer} not defined')
|
|
@@ -494,7 +494,7 @@ class SubInstrTab():
|
|
|
494
494
|
msg_window ('cannot parse spec, vff_eta_offset not defined')
|
|
495
495
|
return
|
|
496
496
|
|
|
497
|
-
import beamlines.aps_1ide.diffractometers as diff
|
|
497
|
+
import cohere_ui.beamlines.aps_1ide.diffractometers as diff
|
|
498
498
|
|
|
499
499
|
try:
|
|
500
500
|
diff_obj = diff.create_diffractometer(diffractometer, {'specfile':specfile})
|
|
@@ -555,7 +555,7 @@ class SubInstrTab():
|
|
|
555
555
|
msg_window ('cannot parse spec, specfile not defined')
|
|
556
556
|
return
|
|
557
557
|
|
|
558
|
-
import beamlines.aps_34idc.diffractometers as diff
|
|
558
|
+
import cohere_ui.beamlines.aps_34idc.diffractometers as diff
|
|
559
559
|
|
|
560
560
|
try:
|
|
561
561
|
diff_obj = diff.create_diffractometer(diffractometer, {'specfile' : specfile})
|
|
@@ -557,7 +557,7 @@ class Tabs(QTabWidget):
|
|
|
557
557
|
|
|
558
558
|
|
|
559
559
|
def run_prep(self):
|
|
560
|
-
import beamline_preprocess as prep
|
|
560
|
+
import cohere_ui.beamline_preprocess as prep
|
|
561
561
|
|
|
562
562
|
# this line is passing all parameters from command line to prep script.
|
|
563
563
|
# if there are other parameters, one can add some code here
|
|
@@ -570,7 +570,7 @@ class Tabs(QTabWidget):
|
|
|
570
570
|
|
|
571
571
|
|
|
572
572
|
def run_viz(self):
|
|
573
|
-
import beamline_visualization as dp
|
|
573
|
+
import cohere_ui.beamline_visualization as dp
|
|
574
574
|
|
|
575
575
|
try:
|
|
576
576
|
dp.handle_visualization(self.main_win.experiment_dir, no_verify=self.main_win.no_verify)
|
|
@@ -858,7 +858,7 @@ class DataTab(QWidget):
|
|
|
858
858
|
-------
|
|
859
859
|
nothing
|
|
860
860
|
"""
|
|
861
|
-
import standard_preprocess as run_dt
|
|
861
|
+
import cohere_ui.standard_preprocess as run_dt
|
|
862
862
|
|
|
863
863
|
if not self.main_win.is_exp_exists():
|
|
864
864
|
msg_window('the experiment has not been created yet')
|
|
@@ -1299,7 +1299,7 @@ class RecTab(QWidget):
|
|
|
1299
1299
|
-------
|
|
1300
1300
|
nothing
|
|
1301
1301
|
"""
|
|
1302
|
-
import run_reconstruction as run_rc
|
|
1302
|
+
import cohere_ui.run_reconstruction as run_rc
|
|
1303
1303
|
|
|
1304
1304
|
if not self.main_win.is_exp_exists():
|
|
1305
1305
|
msg_window('the experiment has not been created yet')
|
|
@@ -5,7 +5,7 @@ setuptools.setup(
|
|
|
5
5
|
author='Barbara Frosik, Ross Harder',
|
|
6
6
|
author_email='bfrosik@anl.gov',
|
|
7
7
|
url='https://github.com/advancedPhotonSource/cohere/cohere-ui',
|
|
8
|
-
version='4.2.
|
|
8
|
+
version='4.2.4',
|
|
9
9
|
packages=['cohere_ui',
|
|
10
10
|
'cohere_ui.api',
|
|
11
11
|
'cohere_ui.beamlines.aps_1ide',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|