Skip to content

Commit

Permalink
Improved debugging; removed two files with failing Newick strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav committed Aug 10, 2020
1 parent 883a965 commit 0690633
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file removed phyx/encrypted/phylonym/CLADO_0000272.json
Binary file not shown.
Binary file removed phyx/encrypted/phylonym/CLADO_0000285.json
Binary file not shown.
3 changes: 2 additions & 1 deletion test/test_phyx.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('Test Phyx files in repository', function () {
try {
wrappedPhyx = new phyx.PhyxWrapper(json);
} catch (ex) {
it('Exception thrown while converting Phyx to JSON-LD', function () {
it('Exception thrown while loading Phyx to JSON-LD', function () {
throw ex;
});
return;
Expand Down Expand Up @@ -142,6 +142,7 @@ describe('Test Phyx files in repository', function () {
.reduce((a, b) => a || b, false);

if (!skipFile) {
console.log(`Converting Phyx file ${filename} into JSON-LD`);
const jsonld = JSON.stringify(wrappedPhyx.asJSONLD());

// Make sure the produced JSON-LD is not empty.
Expand Down

0 comments on commit 0690633

Please sign in to comment.