Skip to content

Commit

Permalink
Fix datafileparamter range
Browse files Browse the repository at this point in the history
  • Loading branch information
Reillyhewitson committed Dec 15, 2022
1 parent 3d9954d commit 25e9c29
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions util/icat_db_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,9 +764,8 @@ def generate(self):
timer = datetime.datetime.now()
with multiprocessing.get_context("spawn").Pool() as pool:
pool.map(
DatafileParameterGenerator.generate_datafile_parameter.range(
1, self.amount
)
DatafileParameterGenerator.generate_datafile_parameter,
range(1, self.amount),
)
# for i in range(1, self.amount):
# timer2 = datetime.datetime.now()
Expand Down

0 comments on commit 25e9c29

Please sign in to comment.