Skip to content

Commit

Permalink
review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-ebi committed Feb 22, 2024
1 parent 91cc475 commit 82dadd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public Optional<Map<String, Object>> getAllPossibleSeqColExtendedData(String acc
// Seqcol Result Data Map
seqColResultData.put("sameValueAttributes", sameValueAttributesMap);
seqColResultData.put("namesAttributes", Collections.singletonList(SeqColExtendedDataEntity
.constructSeqColNamesObjectByNamingConvention(sequenceEntity.get(), SeqColEntity.NamingConvention.TEST)));
.constructSeqColNamesObjectWithRefSeqAndTESTNamingConvention(sequenceEntity.get())));
return Optional.of(seqColResultData);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ public static SeqColExtendedDataEntity<List<String>> constructSeqColNamesObjectB
return seqColNamesObject;
}

public static SeqColExtendedDataEntity<List<String>> constructSeqColNamesObjectByNamingConvention(
AssemblySequenceEntity sequenceEntity, SeqColEntity.NamingConvention convention) throws IOException {
public static SeqColExtendedDataEntity<List<String>> constructSeqColNamesObjectWithRefSeqAndTESTNamingConvention(
AssemblySequenceEntity sequenceEntity) throws IOException {
SeqColExtendedDataEntity<List<String>> seqColNamesObject = new SeqColExtendedDataEntity<List<String>>().setAttributeType(
SeqColExtendedDataEntity.AttributeType.names);
seqColNamesObject.setNamingConvention(convention);
seqColNamesObject.setNamingConvention(SeqColEntity.NamingConvention.TEST);
JSONExtData<List<String>> seqColNamesArray = new JSONStringListExtData();
List<String> namesList = sequenceEntity.getSequences().stream().map(s -> s.getRefseq()).collect(Collectors.toList());
DigestCalculator digestCalculator = new DigestCalculator();
Expand Down

0 comments on commit 82dadd1

Please sign in to comment.