Skip to content

Commit

Permalink
Update matchseries.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen authored Oct 5, 2021
1 parent f26cb27 commit e91c928
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion pyiron_experimental/matchseries.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
import scanf
from pyiron_base import TemplateJob, GenericParameters
from pyiron_base import GenericJob, GenericParameters


class MatchSeries(TemplateJob):
Expand All @@ -24,7 +24,22 @@ def write_input(self):

def collect_output(self):
pass

def to_hdf(self, hdf=None, group_name=None):
super().to_hdf(
hdf=hdf,
group_name=group_name
)
with self.project_hdf5.open("input") as h5in:
self.input.to_hdf(h5in)

def from_hdf(self, hdf=None, group_name=None):
super().from_hdf(
hdf=hdf,
group_name=group_name
)
with self.project_hdf5.open("input") as h5in:
self.input.from_hdf(h5in)


class MatchSeriesInput(GenericParameters):
Expand Down

0 comments on commit e91c928

Please sign in to comment.