Skip to content

Safeguards for different column names in groups.csv file? #55

@hollyannperryman

Description

@hollyannperryman

Hei! I tried to run the compare() function for the Gulf of Mexico files, and the function did not run and I think it is because the compare() function expects the column names to be specific labels (line 85; grp <- grp[grp$isturnedon == 1, c('code', 'name', 'longname', 'grouptype', 'numcohorts')]), but for the Gulf of Mexico inputs we have "Long Name" and "InvertType" and "NumCohorts". This file still runs in Atlantis, so I am guessing Atlantis has some safe-guards in place for different column headers in the groups.csv file. I do not have an issue changing the column headers, but then it needs to be communicated back to all the users of this model which might be tricky to make sure they use this new file. So, I am just wondering if this function should have some of those safe guards for different column headers? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions