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

Commit

Permalink
Merge pull request #2 from hsolbrig/master
Browse files Browse the repository at this point in the history
Parse out the year and version instead of fixed location
  • Loading branch information
pgwilliams authored May 22, 2017
2 parents b3f2802 + 5598f83 commit 5468b8e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tls2_StatedRelationshipsToOwlKRSS_Script_INT.pl
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,9 @@ sub assigndatafiles
# variable for year of release $year
# variable for release version $release
#----------------------------------------
$year = substr($conceptsFileName, 26, 4);
$release = substr($conceptsFileName, 26, 8);
$release = $conceptsFileName ;
$release =~ s/.*_(\d+)\.txt/$1/;
$year = substr($release, 0, 4);

#-------------------------------------------------------------------------------
# File 1: The RF2 concepts table snapshot.
Expand Down

0 comments on commit 5468b8e

Please sign in to comment.