This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"experiment_accession": "E-GEOD-139324", | |
"cell_id": "SRR10340954-AGATTGCTCTCGCATC", | |
"characteristic_name": [ | |
"organism_part" | |
], | |
"facet_characteristic_name": [ | |
"organism_part" | |
], | |
"characteristic_value": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"experiment_accession": "E-GEOD-139324", | |
"cell_id": "SRR10340954-AGATTGCTCTCGCATC", | |
"factor_name": [ | |
"organism_part" | |
], | |
"facet_factor_name": [ | |
"organism_part" | |
], | |
"factor_value": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=1.0 | |
Name=Firefox Developer Edition | |
Comment=The browser made for developers | |
Exec=/home/amunoz/Applications/firefox/firefox-bin %u | |
Terminal=false | |
X-MultipleArgs=false | |
Type=Application | |
Icon=/home/amunoz/Applications/firefox/browser/chrome/icons/default/default128.png | |
Categories=Network;WebBrowser;Development; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ArbitraryStringComparator implements Comparator<String> { | |
private final ImmutableList<String> stringsInOrder; | |
private ArbitraryStringComparator(String... stringsInOrder) { | |
this.stringsInOrder = ImmutableList.copyOf(stringsInOrder); | |
} | |
@Override | |
public int compare(String o1, String o2) { | |
if (stringsInOrder.contains(o1) && stringsInOrder.contains(o2)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package uk.ac.ebi.atlas.commons.readers; | |
import org.apache.commons.lang3.tuple.Triple; | |
import java.io.BufferedReader; | |
import java.io.Closeable; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.util.List; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const highcharts = jest.genMockFromModule(`highcharts`) | |
// So that Boost and Exporting modules don’t complain when running tests | |
highcharts.getOptions = () => ({ plotOptions: {} }) | |
module.exports = highcharts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/alfonsomunozpomer/react-fetch-mock | |
import React from 'react' | |
import fetchMock from 'fetch-mock' | |
import Enzyme from 'enzyme' | |
import {shallow, mount, render} from 'enzyme' | |
import Adapter from 'enzyme-adapter-react-16' | |
Enzyme.configure({ adapter: new Adapter() }) |