Skip to content
Snippets Groups Projects
Commit 311fc463 authored by Pardini, Lorenzo (lopa)'s avatar Pardini, Lorenzo (lopa)
Browse files

added prog_name and periodic_dim

parent 24e03ae2
Branches
Tags
No related merge requests found
Pipeline #
...@@ -31,9 +31,10 @@ class SampleContext(object): ...@@ -31,9 +31,10 @@ class SampleContext(object):
self.initialize_values() self.initialize_values()
def onClose_section_run(self, backend, gIndex, section): def onClose_section_run(self, backend, gIndex, section):
pass backend.addValue('program_name', 'elastic')
def onClose_section_system(self, backend, gIndex, section): def onClose_section_system(self, backend, gIndex, section):
backend.addArrayValues('configuration_periodic_dimensions', np.asarray([True, True, True]))
self.SGN = int(section["x_elastic_space_group_number"][0]) self.SGN = int(section["x_elastic_space_group_number"][0])
mainFile = self.parser.fIn.fIn.name mainFile = self.parser.fIn.fIn.name
dirPath = os.path.dirname(mainFile) dirPath = os.path.dirname(mainFile)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment