Skip to content

Commit

Permalink
bQ hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
satanio committed Jun 23, 2021
1 parent 7d8db2c commit 6f065bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions app/Entity/ModelEntities/SBMLModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,6 @@ private function getDatasetSubstitution(string $varAlias)
{
foreach ($this->withDataset as $var) {
if ($var['alias'] === $varAlias) {
// if ($varAlias === 'R0') {
// dump($var);exit;
// }
return $var;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getList(array $filter, array $sort, array $limit): array

public function sortByOrganismName (Traversable $iterator, string $how){
$iterator->uasort(function (Bioquantity $a, Bioquantity $b) use ($how) {
if ($how === 'asc') {
if ($how === 'ASC') {
return $a->getOrganism()->getName() <=> $b->getOrganism()->getName();
} else {
return $b->getOrganism()->getName() <=> $a->getOrganism()->getName();
Expand Down

0 comments on commit 6f065bc

Please sign in to comment.