WiscAr / pychron

Data acquisition and processing framework for Ar-Ar geochronology and noble gas mass spectrometry
http://pychron.readthedocs.org/en/latest/
Apache License 2.0
0 stars 0 forks source link

Flux pipline #23

Open wiscarlab opened 5 years ago

wiscarlab commented 5 years ago

active branch=release/py3/v18.2

active analyses=UW146:AS1-01A,UW146:AS1-02A,UW146:AS1-03A,UW146:AS1-04A,UW146:AS1-05A,UW146:AS3-01A,UW146:AS3-02A,UW146:AS3-03A,UW146:AS3-04A,UW146:AS3-05A,UW146:AS3-06A,UW146:AS3-07A,UW146:AS7-01A,UW146:AS7-02A,UW146:AS7-03A,UW146:AS7-04A,UW146:AS7-05A,UW146:AS9-01A,UW146:AS9-02A,UW146:AS9-03A,UW146:AS9-04A,UW146:AS9-05A

description="right before "Fit Flux UW146" node. Trying for the ACs in disk A of that irradiaiton"

Traceback

Traceback (most recent call last):
  File "C:\Users\jross\AppData\Local\conda\conda\envs\pychron3\lib\site-packages\pyface\ui\qt4\action\action_item.py", line 345, in _qt4_on_triggered
    self.controller.perform(action, action_event)
  File "C:\Users\jross\AppData\Local\conda\conda\envs\pychron3\lib\site-packages\pyface\tasks\action\task_action_controller.py", line 31, in perform
    return action.perform(event)
  File "C:\Users\jross\AppData\Local\conda\conda\envs\pychron3\lib\site-packages\pyface\tasks\action\listening_action.py", line 58, in perform
    method()
  File "C:\Users\raregas\.pychron.0\pychron\pychron\pipeline\tasks\task.py", line 325, in run
    self._run_pipeline()
  File "C:\Users\raregas\.pychron.0\pychron\pychron\pipeline\tasks\task.py", line 509, in _run_pipeline
    self._run('run pipeline', 'run_pipeline')
  File "C:\Users\raregas\.pychron.0\pychron\pychron\pipeline\tasks\task.py", line 488, in _run
    if not getattr(self.engine, func)():
  File "C:\Users\raregas\.pychron.0\pychron\pychron\pipeline\engine.py", line 718, in run_pipeline
    node.run(state)
  File "C:\Users\raregas\.pychron.0\pychron\pychron\pipeline\nodes\fit.py", line 515, in run
    editor.predict_values()
  File "C:\Users\raregas\.pychron.0\pychron\pychron\pipeline\editors\flux_visualization_editor.py", line 198, in predict_values
    self._graph_grid(x, y, z, ze, r, reg, refresh)
  File "C:\Users\raregas\.pychron.0\pychron\pychron\pipeline\editors\flux_visualization_editor.py", line 540, in _graph_grid
    layout = FigureLayout(fixed='square')
  File "C:\Users\jross\AppData\Local\conda\conda\envs\pychron3\lib\site-packages\traits\trait_handlers.py", line 173, in error
    value )
traits.trait_errors.TraitError: The 'fixed' trait of a FigureLayout instance must be 'column' or 'row' or 'filled_grid', but a value of 'square' <class 'str'> was specified.
aschaen commented 5 years ago

this above bug has been fixed. Additional requests within the flux pipeline include a couple modifications to the "bracketing" model:

1) This model only brackets in the x directon, e.g. calculates a predicted J for wells 2 and 8 using 1,3 and 7,9 respectively. We also need it to bracket in the y direction (e.g. calculate a predicted J for wells 4 and 6 using 1,7 and 3,9 respectively).

2) This model should only display a predicted J for wells in between the two bracketing wells, not the bracketing wells themselves, those should be left blank. In the case of our 3x3 disc, the corner wells should always be blank when using the bracketing model.