Skip to content

Commit

Permalink
Use proper None check
Browse files Browse the repository at this point in the history
Co-authored-by: Niklas Siemer <[email protected]>
  • Loading branch information
pmrv and niklassiemer committed Jun 14, 2021
1 parent 2ca5e74 commit 01b6bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_atomistics/atomistics/job/atomistic.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def create_pipeline(self, step_lst, delete_existing_job=False):
return self.project.create_pipeline(job=self, step_lst=step_lst, delete_existing_job=delete_existing_job)

def _after_generic_copy_to(self, original, new_database_entry, reloaded):
if not self._structure:
if self._structure is None:
self._structure = copy.copy(original._structure)

def calc_minimize(
Expand Down

0 comments on commit 01b6bc3

Please sign in to comment.