Skip to content

Commit

Permalink
fixed some minors after merging master
Browse files Browse the repository at this point in the history
  • Loading branch information
stschiff committed Oct 25, 2024
1 parent d2ab538 commit d8d2da8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Poseidon/CLI/Forge.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import Poseidon.GenotypeData (GenoDataSource (..),
printSNPCopyProgress,
selectIndices, snpSetMergeList)
import Poseidon.Janno (JannoRow (..), ListColumn (..),
JannoRows (..), getMaybeJannoList,
JannoRows (..), getMaybeListColumn,
jannoRows2EigenstratIndEntries,
writeJannoFile)
import Poseidon.Package (PackageReadOptions (..),
Expand Down
3 changes: 2 additions & 1 deletion src/Poseidon/Janno.hs
Original file line number Diff line number Diff line change
Expand Up @@ -655,4 +655,5 @@ deriveGeneric ''JannoRow
jannoRows2EigenstratIndEntries :: JannoRows -> [EigenstratIndEntry]
jannoRows2EigenstratIndEntries (JannoRows jannoRows) = do -- list monad
jannoRow <- jannoRows -- looping over jannoRows
return $ EigenstratIndEntry (jPoseidonID jannoRow) (sfSex (jGeneticSex jannoRow)) (head . getJannoList $ jGroupName jannoRow)
let GroupName gText = head . getListColumn . jGroupName $ jannoRow
return $ EigenstratIndEntry (jPoseidonID jannoRow) (sfSex (jGeneticSex jannoRow)) (T.unpack gText)

0 comments on commit d8d2da8

Please sign in to comment.