Skip to content

Commit b885b08

Browse files
authored
Merge pull request #55 from pyiron/fixes
Update version - plus match series fixes
2 parents bc48cc3 + 69fad1e commit b885b08

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

binder/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
channels:
22
- conda-forge
33
dependencies:
4-
- pyiron_base=0.3.2
4+
- pyiron_base=0.3.5
55
- matplotlib=3.4.3
66
- temmeta=0.0.6
77
- pystem =0.0.26

pyiron_experimental/matchseries.py

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import os
22
import scanf
3-
from pyiron_base import TemplateJob, GenericParameters
3+
from pyiron_base import GenericJob, GenericParameters
44

55

6-
class MatchSeries(TemplateJob):
6+
class MatchSeries(GenericJob):
77
def __init__(self, project, job_name):
88
super().__init__(project, job_name)
99
self.input = MatchSeriesInput()
@@ -24,7 +24,22 @@ def write_input(self):
2424

2525
def collect_output(self):
2626
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)
2735

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)
2843

2944

3045
class MatchSeriesInput(GenericParameters):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
keywords='pyiron',
3434
packages=find_packages(exclude=["*tests*"]),
3535
install_requires=[
36-
'pyiron_base==0.3.2',
36+
'pyiron_base==0.3.5',
3737
'matplotlib==3.4.3',
3838
'temmeta==0.0.6',
3939
'pystem==0.0.26',

0 commit comments

Comments
 (0)