Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for session partitioning of dataflow, support for folder-based multiplexing of processing. #57

Open
obsh opened this issue Feb 13, 2019 · 6 comments
Assignees
Labels
enhancement New feature or request tracked

Comments

@obsh
Copy link
Collaborator

obsh commented Feb 13, 2019

We can have a list of documents with links to visualizations on the index page. Or just render the newest one and provide dropdown to select another document.

@allenday
Copy link
Owner

allenday commented Feb 13, 2019 via email

@Firedrops
Copy link
Contributor

Related to this, how does sessioning work, if at all, currently? So far our tests have all dumped into the same datastore document, unless we stopped the job and re-deployed it.

@allenday
Copy link
Owner

currently no user sessions or support for folder-based multiplexing.

@allenday allenday changed the title Visualization. Add Possibility to Select Document Rendered Add support for session partitioning of dataflow, support for folder-based multiplexing of processing. Feb 14, 2019
@allenday
Copy link
Owner

multiplexing meaning that we add an additional GroupByKey for the folder name at the beginning of the pipe. This way each of the samples stays as a group, but many samples can run together, then finally get split apart again when written to different firestore collections (based on folder)

@allenday allenday added the enhancement New feature or request label Feb 14, 2019
@Firedrops
Copy link
Contributor

I see that latest commit has a new index.html with hard-coded links to previous runs. Is it possible to automate the generation of these links?

@Firedrops
Copy link
Contributor

I have realised that index.html always returns Error 502: Bad Gateway nginx/1.14.0 (Ubuntu).

I have also made an attempt to read the firebase documents, in a .js, but I'm not sure how to use it from sunburst.html. So far, this code should render document ids like resultDocument--2019-02-18T02-21-45UTC in plaintext, although it is likely that I have made errors since I could not really test.

const firebaseDocuments = document.querySelector('#firebase_documents')

// create element and render file

function renderUrl(doc){
  let li = document.createElement('li');

  li.setAttribute('doc-id', doc.id);

  firebaseDocuments.appendChild(li);
}

db.collection('new_scanning_species_sequences_statistic').get().then((snapshot) => {
  snapshot.docs.forEach(doc => {
    renderUrl(doc);
  })
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tracked
Projects
None yet
Development

No branches or pull requests

3 participants