Skip to content

Commit b5d9dc6

Browse files
authored
Merge pull request #96 from phyloref/reviewable-changes
These are the reviewable changes from PR #89, which are primarily `regnum2phyx.js` changes: - Improvements to how author names are rendered: we now support first-name first, last-name first, or last-name only. - Generate scientific name authorship by using first-name first and combining them with " and ". - Generate specifier authors by using last-name only and combining them with " and ". - Added a CLI option to configure the number of digits in the `CLADO_` name, which now defaults to 7 instead of the previous 6. - Modified the script to produce `CLADO_0000000` filenames instead of `REGNUM_0000000` filenames. Two other minor changes: - Added an optional test to ensure that Phyx files have at least one Newick phylogeny in order to see how many we have. - Removed `phyloref_testcase.owl`, which was previously a copy of the phyloref.owl ontology we used to do reasoning.
2 parents 971ca07 + ce84e7c commit b5d9dc6

File tree

5 files changed

+70
-331
lines changed

5 files changed

+70
-331
lines changed

.github/workflows/test.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [10.x, 12.x, 14.x]
15+
16+
steps:
17+
- uses: actions/checkout@v5
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v6
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- name: Install dependencies
23+
run: npm ci
24+
- name: Test
25+
run: npm test

ontologies/phyloref_testcase.owl

Lines changed: 0 additions & 317 deletions
This file was deleted.

0 commit comments

Comments
 (0)