Skip to content

Commit

Permalink
make interaction type mappings explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorrit Poelen committed Feb 4, 2025
1 parent 9137d77 commit c8e23f1
Show file tree
Hide file tree
Showing 5 changed files with 440 additions and 82 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.util.Arrays;
import java.util.TreeMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
Expand Down Expand Up @@ -172,7 +173,7 @@ private Dataset createDatasetIfComplete(Dataset dataset) {
}

private boolean contextSupported() {
return "application/globi".equals(resourceFormat);
return Arrays.asList("application/globi", "application/dwca").contains(resourceFormat);
}

private Dataset createDataset() {
Expand Down
Loading

0 comments on commit c8e23f1

Please sign in to comment.