Skip to content

Commit

Permalink
Fix data column provider interface
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Nov 17, 2024
1 parent b297e56 commit 68b97e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions public/galaxy-charts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,10 @@
<type>data_column</type>
<is_number>true</is_number>
</input>
<input>
<name>track_column_2</name>
<label>Track: Column (Any)</label>
<type>data_column</type>
</input>
</tracks>
</visualization>
2 changes: 1 addition & 1 deletion src/api/datasets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export async function datasetsGetColumns(datasetId: string, columnList: string[]
const columnLength = columnList.length;
const results: any[][] = new Array(columnLength).fill(null).map(() => []);

for (const row of data) {
for (const row of data.data) {
for (const j in row) {
const index = Number(j);
const value = row[j];
Expand Down

0 comments on commit 68b97e6

Please sign in to comment.