Skip to content

Commit

Permalink
Adding new method of handling spec loading
Browse files Browse the repository at this point in the history
  • Loading branch information
siranipour committed Mar 11, 2020
1 parent 65737ac commit b8f0387
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions n3fit/src/n3fit/io/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,9 @@ def common_data_reader(spec, t0pdfset, replica_seeds=None, trval_seeds=None):
all_expdatas = [expdata_true.reshape(ndata)]

for replica_seed in replica_seeds:
spec_replica = copy.deepcopy(spec)
spec_replica_c = spec_replica.load() # I might need the t0 set here as well
# spec_replica = copy.deepcopy(spec)
# spec_replica_c = spec_replica.load() # I might need the t0 set here as well
spec_replica_c = type(spec_c)(spec_c)

# Replica generation
mcseed = base_mcseed + replica_seed
Expand Down

0 comments on commit b8f0387

Please sign in to comment.