Skip to content

Commit

Permalink
fix reject logic for new format
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyLikness committed Aug 24, 2022
1 parent d61db6e commit c42cb27
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Stellinator/Stellinator/Workflow/FilterWorkflow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ bool TiffFilter(AstroFile file) =>
}

if (options.HasIgnoreFlag(IgnoreFlags.Rejection) == false
&& file.IsRaw && !file.IsNewFormat)
&& file.IsRaw)
{
var match = files.Any(f => f.FileName == file.FileNameMatch);
file.Rejected = !match;
Expand Down
1 change: 0 additions & 1 deletion Stellinator/Stellinator/Workflow/ParseWorkflow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ private static AstroFile ParseFile(string path)
sequenceAndName = sequenceAndName[0].Split("_observation_");
if (sequenceAndName.Length > 1)
{
result.Rejected = false;
result.IsNewFormat = true;
}
}
Expand Down
2 changes: 1 addition & 1 deletion Stellinator/version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "0.99",
"version": "0.99.1",
"publicReleaseRefSpec": [
"^refs/heads/master$",
"^refs/heads/v\\d+(?:\\.\\d+)?$"
Expand Down

0 comments on commit c42cb27

Please sign in to comment.