Open auroranr opened 7 years ago
what's your NSLS-II control network account? Nogales or anogales ?
It is anogales
Ok. Please comment out (put # befor the line) the line in your notebook username = "Nogales" namely, make like:
Then, all the results will be save in /XF11ID/analysis/2016_2/anogales/Results insteady of /XF11ID/analysis/2016_2/Nogales/Results
Thanks, that worked. Now another path problem. See figure attached.
Please place the setup_pargs cells with
setup_pargs=dict(uid=uid, dpix= dpix, Ldet=Ldet, lambda_= lambda_,
timeperframe=timeperframe, center=center, path= data_dir)
Basically, add path = data_dir
(where you want to save your data) in the dict.
I am running in my file: data_dir = os.path.join('/XF11ID/analysis/', CYCLE, username, 'Results/2016September/PSPMMA2/T200H/' )
Or define data_dir here, e.g.,#data_dir = '/XF11ID/analysis/2016_2/rheadric/test/'
os.makedirs(data_dir, exist_ok=True) print('Results from this analysis will be stashed in the directory %s' % data_dir)
And I get the following, it looks as if I have a permissions error:
PermissionError Traceback (most recent call last)