Skip to content

Commit

Permalink
Exclude directories in finish step
Browse files Browse the repository at this point in the history
  • Loading branch information
smcolby committed Dec 27, 2024
1 parent b3bb053 commit d7aeca3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions isicle/md.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,9 @@ def finish(self):
# Get list of outputs
outfiles = glob.glob(os.path.join(self.temp_dir, "*"))

# Filter directories
outfiles = [x for x in outfiles if not os.path.isdir(x)]

# Result container
result = {}

Expand Down

0 comments on commit d7aeca3

Please sign in to comment.