Startup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#Tue May 19 19:37:08 CEST 2020
|
||||
#Mon Jun 08 17:32:02 CEST 2020
|
||||
hostName=x03da-cons-1
|
||||
userManagement=false
|
||||
instanceName=x03da
|
||||
@@ -8,7 +8,7 @@ dataServerPort=-1
|
||||
hideServerMessages=false
|
||||
serverPort=8080
|
||||
versionTrackingEnabled=true
|
||||
dataPath={data}/{year}/{month}/heydari/pshell-{date}-{time}-{name}
|
||||
dataPath={data}/{year}/{month}/bl-dev/pshell-{date}-{time}-{name}
|
||||
serverEnabled=false
|
||||
commandExecutionEvents=false
|
||||
logDaysToLive=50
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#Tue May 19 19:37:08 CEST 2020
|
||||
pgroup=pp18171
|
||||
proposal=20190988
|
||||
proposer=heydari
|
||||
#Tue Jun 09 09:36:20 CEST 2020
|
||||
pgroup=p17274
|
||||
proposal=
|
||||
proposer=bl-dev
|
||||
prefix=
|
||||
samples=DPDI/Bi/Cu
|
||||
sample=Au poly
|
||||
authors=
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#Mon Jun 08 17:14:45 CEST 2020
|
||||
FileSequentialNumber=3559
|
||||
#Tue Jun 09 10:04:20 CEST 2020
|
||||
FileSequentialNumber=3565
|
||||
|
||||
@@ -43,7 +43,7 @@ public class Experiment extends Panel {
|
||||
textPGroup.setText(getContext().getSetting("pgroup") == null ? "" : getContext().getSetting("pgroup"));
|
||||
textProposal.setText(getContext().getSetting("proposal") == null ? "" : getContext().getSetting("proposal"));
|
||||
textProposer.setText(getContext().getSetting("proposer") == null ? "" : getContext().getSetting("proposer"));
|
||||
textSamples.setText(getContext().getSetting("samples") == null ? "" : getContext().getSetting("samples"));
|
||||
textSamples.setText(getContext().getSetting("sample") == null ? "" : getContext().getSetting("sample"));
|
||||
textAuthors.setText(getContext().getSetting("authors") == null ? "" : getContext().getSetting("authors").replace("|", "\n"));
|
||||
textPrefix.setText(getContext().getSetting("prefix") == null ? "" : getContext().getSetting("prefix"));
|
||||
} catch (Exception ex) {
|
||||
@@ -65,7 +65,7 @@ public class Experiment extends Panel {
|
||||
getContext().setSetting("pgroup", pgroup);
|
||||
getContext().setSetting("proposal", proposal);
|
||||
getContext().setSetting("proposer", proposer);
|
||||
getContext().setSetting("samples", samples);
|
||||
getContext().setSetting("sample", samples);
|
||||
getContext().setSetting("authors", authors);
|
||||
getContext().setSetting("prefix", prefix);
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ for cur_range in range(len(ranges)):
|
||||
adjusted_ranges.append(ar)
|
||||
|
||||
set_exec_pars(open = True)
|
||||
create_metadata_datasets()
|
||||
|
||||
#Global arguments
|
||||
Scienta.passEnergy = pass_energy
|
||||
|
||||
@@ -288,7 +288,7 @@ def create_metadata_datasets(parent = None):
|
||||
if parent is None:
|
||||
parent = "/"
|
||||
group = parent + "general/"
|
||||
for name in ["proposer", "proposal", "pgroup", "samples"]:
|
||||
for name in ["proposer", "proposal", "pgroup", "sample"]:
|
||||
setting = get_setting(name)
|
||||
save_dataset(group+name, setting if setting is not None else "", 's')
|
||||
setting = get_setting("authors")
|
||||
|
||||
Reference in New Issue
Block a user