BU-hammerTeam / PyHammer

A Python Spectral Typing Suite
MIT License
53 stars 14 forks source link

PyHammer line 125 Remove Leading Spaces From spectralIndices.csv Column Names #31

Closed JosephKarpinski closed 6 years ago

JosephKarpinski commented 6 years ago

PyHammer line 125 remove leading spaces from spectralIndices.csv column names. When importing spectralIndices.csv into a Python Dataframe, the column names are unusable because of leading spaces. Removing the blank spaces infront of each column name in PyHammer line 125 fixes the usability issue. See attached:

leading_spaces_error

aurorayk commented 6 years ago

deleted the leading spaces in the developer branch. If this solves the issue we will push the lineOutfile part of the code to the main branch.

JosephKarpinski commented 6 years ago

Thanks!

BTW, there are still issues with the lineOutfile part of the code:

Updated entry on PyHammer issues web site. UnboundLocalError in two locations. See update.

Sent from my iPhone

On Oct 12, 2018, at 2:45 PM, Aurora Kesseli notifications@github.com<mailto:notifications@github.com> wrote:

deleted the leading spaces in the developer branch. If this solves the issue we will push the lineOutfile part of the code to the main branch.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/BU-hammerTeam/PyHammer/issues/31#issuecomment-429422589, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AjZ2IMGI7YmIQJqIK5gJzXdUS0vJpNGrks5ukOMygaJpZM4XZbMh.