jackfrost373 / LHCb_Xic_production

Honours programme analysis at MSP for MSP honours students, measuring the production ratio of Xi_c over L_c in the LHCb experiment.
2 stars 4 forks source link

Made the fit.py script create the necessary directories for file output if they don't yet exist #63

Closed Jonastjep closed 4 years ago

Jonastjep commented 4 years ago

Path appends look like this now https://github.com/jackfrost373/LHCb_Xic_production/blob/44e722c4db7fd73c6dde796da4ba9993eb748825/analysis/Scripts/MassFitting/fit.py#L13-L15

Jonastjep commented 4 years ago

I might actually need to change some other paths before merging, I will read the code again. This line: https://github.com/jackfrost373/LHCb_Xic_production/blob/44e722c4db7fd73c6dde796da4ba9993eb748825/analysis/Scripts/MassFitting/fit.py#L15 is not used anymore because it relies on the dictionaries being in the origin directory

Jonastjep commented 4 years ago

Ok I think everything is fixed for fit.py (tested it) and ready to be merged