Skip to content

Instantly share code, notes, and snippets.

View ctherreau's full-sized avatar

Chloe Therreau ctherreau

  • Montréal
View GitHub Profile
path_mc='/project2/lgrandi/xenon1t/simulations/TPC_Kr83m/NEST/mc_v1.0.1/fax_v6.8.0-pax_v6.8.0/Kr83m-hax_v1.5.0-1e6'
path='/scratch/midway2/ctherreau/ExtendedDoubleScatter_Minitree/simulation_fax_v6.8.0-pax_v6.8.0'
path_h5 ='/scratch/midway2/ctherreau/ExtendedDoubleScatter_Minitree/simulation_fax_v6.8.0-pax_v6.8.0/h5_files/'
#Select pax version
pax_version = '6.8.0'
%run "/home/ctherreau/initialize_midway.ipynb"
import pax
import pandas as pd
Don't know a run named Xenon1T_TPC_Kr83m_00268_g4mc_NEST_Patch_pax, trying to find it anyway...
Don't know a run named Xenon1T_TPC_Kr83m_00268_g4mc_NEST_Patch_pax, trying to find it anyway...
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-22-ebf5df5b5f41> in <module>()
1 df = hax.minitrees.load(run_names, treemakers=[ExtendedCorrectedDoubleS1Scatter],num_workers=20,
----> 2 force_reload=True)
/project/lgrandi/anaconda3/envs/pax_v6.8.0/lib/python3.4/site-packages/hax-2.4.0-py3.4.egg/hax/minitrees.py in load(datasets, treemakers, preselection, force_reload, delayed, num_workers, compute_options, cache_file, remake_cache, event_list)
514
@ctherreau
ctherreau / FaxProductionError
Created July 30, 2018 06:36
Error from the production log file while trying to create fax simulation at high energy
File "/project/lgrandi/anaconda3/envs/pax_v6.8.0/bin/paxer", line 4, in <module>
__import__('pkg_resources').run_script('pax==6.8.0', 'paxer')
File "/project/lgrandi/anaconda3/envs/pax_v6.8.0/lib/python3.4/site-packages/pkg_resources/__init__.py", line 739, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/project/lgrandi/anaconda3/envs/pax_v6.8.0/lib/python3.4/site-packages/pkg_resources/__init__.py", line 1494, in run_script
exec(code, namespace, namespace)
File "/project/lgrandi/anaconda3/envs/pax_v6.8.0/lib/python3.4/site-packages/pax-6.8.0-py3.4.egg/EGG-INFO/scripts/paxer", line 304, in <module>
main()
File "/project/lgrandi/anaconda3/envs/pax_v6.8.0/lib/python3.4/site-packages/pax-6.8.0-py3.4.egg/EGG-INFO/scripts/paxer", line 124, in main
parallel.maybe_multiprocess(args, **config_kwargs)