Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Date and version not always right #1

Open
hsolbrig opened this issue May 18, 2017 · 1 comment
Open

Date and version not always right #1

hsolbrig opened this issue May 18, 2017 · 1 comment

Comments

@hsolbrig
Copy link

The date and version identifiers are extracted from fixed locations in the file name -- this fails when paths are used.

$year = substr($conceptsFileName, 26, 4);
$release = substr($conceptsFileName, 26, 8);

If you run the script with "perl tls2_StatedRelationshipsToOwlKRSS_Script_INT.pl OWLF Snapshot" the year becomes "Concept_"

@hsolbrig
Copy link
Author

Recommend using regular expressions w/ perhaps an option to override as an input parameter

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant