Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1438 error when missing excel column #1441

Merged
merged 3 commits into from
Jan 12, 2022

Conversation

georgeDaskalakis
Copy link
Contributor

No description provided.

@georgeDaskalakis georgeDaskalakis added the Importer-Redesign Redesign of observed data import label Jan 12, 2022
@georgeDaskalakis georgeDaskalakis self-assigned this Jan 12, 2022
Copy link
Member

@msevestre msevestre left a comment

Choose a reason for hiding this comment

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

A few changes but nothing hard

@@ -8,5 +8,9 @@ public class MissingColumnException : AbstractImporterException
public MissingColumnException(IReadOnlyList<string> missingColumns) : base(Error.MissingColumnException(missingColumns))
{
}

public MissingColumnException(string missingColumn) : base(Error.MissingColumnException(new List<string>() { missingColumn}))
Copy link
Member

Choose a reason for hiding this comment

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

Ok
Better. Call this(new list...) That way you do not have to duplicate the logic.
Merging.

@msevestre msevestre merged commit 5fef722 into develop Jan 12, 2022
@msevestre msevestre deleted the 1438-error-when-missing-excel-column branch January 12, 2022 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Importer-Redesign Redesign of observed data import
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants