Skip to content

Commit

Permalink
SCRUM-4190 fix checkstyle, create new flyway script
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpich committed Nov 7, 2024
1 parent ade53c5 commit 427f1ed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void execLoad(BulkLoadFileHistory bulkLoadFileHistory) throws IOException
String orgID = token[0];
String modID = token[1];
String goID = token[4];
if (abbr.equalsIgnoreCase(orgID) || (abbr.equals("HUMAN") && orgID.equals("RGD"))) {
if (abbr.equalsIgnoreCase(orgID) || abbr.equals("HUMAN") && orgID.equals("RGD")) {
List<String> goIDs = uiMap.computeIfAbsent(modID, list -> new ArrayList<>());
goIDs.add(goID);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/db/migration/v0.38.0.2__gaf-load.sql
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ from bulkload
where name = 'RGD GAF';

insert into bulkurlload (id, bulkloadurl)
select id, 'https://download.alliancegenome.org/2.3.0/GAF/HUMAN/GAF_HUMAN_1.gaf'
select id, 'https://www.ebi.ac.uk/gxa/species/Homo_sapiens/sitemap.xml?allEntries=true'
from bulkload
where name = 'HUMAN GAF';

Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/db/migration/v0.38.0.3__gaf-load.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
update bulkurlload set bulkloadurl = 'https://download.alliancegenome.org/2.3.0/GAF/HUMAN/GAF_HUMAN_1.gaf'
where id = (select id from bulkload where name = 'HUMAN GAF');

0 comments on commit 427f1ed

Please sign in to comment.