Skip to content

Instantly share code, notes, and snippets.

View prem0862's full-sized avatar
🎯
Focusing

Prem Singh prem0862

🎯
Focusing
View GitHub Profile
@prem0862
prem0862 / create_client_response
Created February 25, 2018 13:00
This is the Request Payload code i am getting while interrupting the request using developer tools
{
"activationDate":"25 Feb 2018",
"active":true,
"address":[
],
"clientClassificationId":219,
"clientTypeId":213,
"datatables":[
{
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for edu.utah.ece.async.sboldesigner:SBOLDesigner:jar:3.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 67, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.965 s
[INFO] Finished at: 2018-04-24T23:57:47+05:30
[INFO] Final Memory: 14M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project SBOLDesigner: An exception occured while executing the Java class. com.clarkparsia.sbol.editor.SBOLDesignerStandalone -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project SBOLDesigner: An exception occured while executing the Java class. com.clarkparsia.sbol.editor.SBOLDesignerStandalone
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
public class LoginFrame {
public static void main(String []args) {
JFrame frame = new JFrame("Login");
frame.setSize(300, 150);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
placeComponents(frame);
frame.setVisible(true);
}
public final SBOLEditorAction BOOST = new SBOLEditorAction("BOOST", "Prepare for Synthesis with BOOST",
"upload.png") {
@Override
protected void perform() {
// TODO Prem fill in code here
// create document
// call boost dialog and pass in document
// print response document for now (or write to disk, etc)
try {
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchFieldError: CIRCULAR
at edu.utah.ece.async.sboldesigner.sbol.editor.SBOLDesign.updateCanvasCD(SBOLDesign.java:1554)
at edu.utah.ece.async.sboldesigner.sbol.editor.SBOLDesign.createDocument(SBOLDesign.java:1522)
at edu.utah.ece.async.sboldesigner.sbol.editor.SBOLDesign.expandCombinatorial(SBOLDesign.java:1399)
at edu.utah.ece.async.sboldesigner.sbol.editor.SBOLDesign.access$3(SBOLDesign.java:1397)
at edu.utah.ece.async.sboldesigner.sbol.editor.SBOLDesign$6.perform(SBOLDesign.java:273)
at edu.utah.ece.async.sboldesigner.sbol.editor.SBOLEditorAction.actionPerformed(SBOLEditorAction.java:91)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
@prem0862
prem0862 / codon Juggling
Last active June 12, 2018 20:34
codon Juggling
{"job":{"job-time-finished":"06/12/2018 01:23:10 PM","job-time-created":"06/12/2018 01:23:10 PM","job-uuid":"f76a2af3-fc55-4260-b499-e965fc25cfec","job-report":{"response":[{"exception":[],"modified-sequences-file":"e1ee6ddf-cdd7-4135-a462-7c5750425ac7_JUG.sbol","original-sequences-file":"e1ee6ddf-cdd7-4135-a462-7c5750425ac7","original-sequences-text":"<?xml version=\"1.0\" ?>\r\n<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:sbol=\"http://sbols.org/v2#\" xmlns:dcterms=\"http://purl.org/dc/terms/\" xmlns:prov=\"http://www.w3.org/ns/prov#\">\r\n <sbol:ComponentDefinition rdf:about=\"http://www.async.ece.utah.edu/BBa_C0062\">\r\n <sbol:persistentIdentity rdf:resource=\"http://www.async.ece.utah.edu/BBa_C0062\"/>\r\n <sbol:displayId>BBa_C0062<\/sbol:displayId>\r\n <prov:wasDerivedFrom rdf:resource=\"http://partsregistry.org/Part:BBa_C0062\"/>\r\n <dcterms:title>luxR<\/dcterms:title>\r\n <sbol:type rdf:resource=\"http://www.biopax.org/release/biopax-level3.owl#DnaRegion\"
@prem0862
prem0862 / codon Juggle
Created June 12, 2018 22:50
codon Juggling
{
"job": {
"job-time-finished": "06/12/2018 01:23:10 PM",
"job-time-created": "06/12/2018 01:23:10 PM",
"job-uuid": "f76a2af3-fc55-4260-b499-e965fc25cfec",
"job-report": {
"response": [{
"exception": [],
"modified-sequences-file": "e1ee6ddf-cdd7-4135-a462-7c5750425ac7_JUG.sbol",
"original-sequences-file": "e1ee6ddf-cdd7-4135-a462-7c5750425ac7",
@prem0862
prem0862 / codon Juggling response
Last active June 16, 2018 18:48
response from codon Juggling
{
"response": [{
"exception": [],
"modified-sequences-file": "e676dff4-706d-4020-96ba-60315dc59c41_JUG.sbol",
"original-sequences-file": "e676dff4-706d-4020-96ba-60315dc59c41",
"original-sequences-text": "<?xml version=\"1.0\" ?>\r\n<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:sbol=\"http://sbols.org/v2#\" xmlns:dcterms=\"http://purl.org/dc/terms/\" xmlns:prov=\"http://www.w3.org/ns/prov#\">\r\n <sbol:ComponentDefinition rdf:about=\"http://www.async.ece.utah.edu/BBa_C0062\">\r\n <sbol:persistentIdentity rdf:resource=\"http://www.async.ece.utah.edu/BBa_C0062\"/>\r\n <sbol:displayId>BBa_C0062<\/sbol:displayId>\r\n <prov:wasDerivedFrom rdf:resource=\"http://partsregistry.org/Part:BBa_C0062\"/>\r\n <dcterms:title>luxR<\/dcterms:title>\r\n <sbol:type rdf:resource=\"http://www.biopax.org/release/biopax-level3.owl#DnaRegion\"/>\r\n <sbol:type rdf:resource=\"http://identifiers.org/so/SO:0000987\"/>\r\n <sbol:role rdf:resource=\"http://identifiers.org/so/SO:00
{
"output": {
"format": "SBOL"
},
"job": {
"job-BOOST-function": "CODON_JUGGLE"
},
"sequences": {
"auto-annotate": true,
"text": "<?xml version=\"1.0\" ?>\r\n<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\r\n xmlns:sbol=\"http://sbols.org/v2#\"\r\n xmlns:dcterms=\"http://purl.org/dc/terms/\"\r\n xmlns:prov=\"http://www.w3.org/ns/prov#\">\r\n <sbol:ComponentDefinition rdf:about=\"http://www.async.ece.utah.edu/BBa_C0062\">\r\n <sbol:persistentIdentity rdf:resource=\"http://www.async.ece.utah.edu/BBa_C0062\"/>\r\n <sbol:displayId>BBa_C0062<\/sbol:displayId>\r\n <prov:wasDerivedFrom rdf:resource=\"http://partsregistry.org/Part:BBa_C0062\"/>\r\n <dcterms:title>luxR<\/dcterms:title>\r\n <sbol:type rdf:resource=\"http://www.biopax.org/release/biopax-level3.owl#DnaRegion\"/>\r\n <sbol:type rdf:resource=\"http://identifiers.org/so/SO:0000987\"/>\r\n <sbol:role rdf:resource=\"http://identifiers.org/so/SO:0000316\"/>\r\n <\/sbol:ComponentDef