Skip to content

Commit

Permalink
Rollback make_dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
ppizarror committed Jan 27, 2024
1 parent a13eae1 commit 97af0bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion MLStructFP/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__description__ = 'Machine learning structural floor plan dataset'
__keywords__ = ['ml', 'ai', 'dataset', 'calc', 'matrix analysis', 'cnn', 'structural analysis', 'structural design']
__email__ = 'pablo@ppizarror.com'
__version__ = '0.4.4'
__version__ = '0.4.5'

# URL
__url__ = 'https://github.com/MLSTRUCT/MLSTRUCT-FP'
Expand Down
2 changes: 0 additions & 2 deletions MLStructFP/utils/_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ def make_dirs(f: str) -> str:
:returns: File
"""
if f != '':
if f[-1] != '/':
f += '/'
fdir = os.path.dirname(f)
os.makedirs(fdir, exist_ok=True)
return f

0 comments on commit 97af0bc

Please sign in to comment.