Skip to content

Conversation

@rwst
Copy link

@rwst rwst commented Jan 4, 2021

No description provided.

Copy link

@amc-corey-cox amc-corey-cox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should use:
filebase = os.path.join(os.path.dirname(opts.infile), os.path.basename(opts.infile))

Instead of:
filebase = os.path.dirname(opts.infile) + '/' + str(os.path.basename(opts.infile))

Use of '/' can introduce an OS dependency that I'm not sure of the implications of.

@amc-corey-cox
Copy link

I realize this was submitted a long time ago, so I'm happy to make this change and re-commit so this can merge.

@ericprud
Copy link
Collaborator

Does it require any update or can it just be merged now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants