File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 1
1
channels :
2
2
- conda-forge
3
3
dependencies :
4
- - pyiron_base=0.3.2
4
+ - pyiron_base=0.3.5
5
5
- matplotlib=3.4.3
6
6
- temmeta=0.0.6
7
7
- pystem =0.0.26
Original file line number Diff line number Diff line change 1
1
import os
2
2
import scanf
3
- from pyiron_base import TemplateJob , GenericParameters
3
+ from pyiron_base import GenericJob , GenericParameters
4
4
5
5
6
- class MatchSeries (TemplateJob ):
6
+ class MatchSeries (GenericJob ):
7
7
def __init__ (self , project , job_name ):
8
8
super ().__init__ (project , job_name )
9
9
self .input = MatchSeriesInput ()
@@ -24,7 +24,22 @@ def write_input(self):
24
24
25
25
def collect_output (self ):
26
26
pass
27
+
28
+ def to_hdf (self , hdf = None , group_name = None ):
29
+ super ().to_hdf (
30
+ hdf = hdf ,
31
+ group_name = group_name
32
+ )
33
+ with self .project_hdf5 .open ("input" ) as h5in :
34
+ self .input .to_hdf (h5in )
27
35
36
+ def from_hdf (self , hdf = None , group_name = None ):
37
+ super ().from_hdf (
38
+ hdf = hdf ,
39
+ group_name = group_name
40
+ )
41
+ with self .project_hdf5 .open ("input" ) as h5in :
42
+ self .input .from_hdf (h5in )
28
43
29
44
30
45
class MatchSeriesInput (GenericParameters ):
Original file line number Diff line number Diff line change 33
33
keywords = 'pyiron' ,
34
34
packages = find_packages (exclude = ["*tests*" ]),
35
35
install_requires = [
36
- 'pyiron_base==0.3.2 ' ,
36
+ 'pyiron_base==0.3.5 ' ,
37
37
'matplotlib==3.4.3' ,
38
38
'temmeta==0.0.6' ,
39
39
'pystem==0.0.26' ,
You can’t perform that action at this time.
0 commit comments