This file contains hidden or 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
| /* | |
| * org.openmicroscopy.shoola.env.data.NetworkChecker | |
| * | |
| *------------------------------------------------------------------------------ | |
| * Copyright (C) 2006-2012 University of Dundee & Open Microscopy Environment. | |
| * All rights reserved. | |
| * | |
| * | |
| * This program is free software; you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by |
This file contains hidden or 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
| """ | |
| Copyright (C) 2013 Glencoe Software, Inc. | |
| All rights reserved. | |
| Redistribution and use in source and binary forms, with or without | |
| modification, are permitted provided that the following conditions are met: | |
| 1. Redistributions of source code must retain the above copyright notice, this | |
| list of conditions and the following disclaimer. |
This file contains hidden or 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
| -- Copyright (C) 2013 Glencoe Software, Inc. All rights reserved. | |
| -- | |
| -- This program is free software; you can redistribute it and/or modify | |
| -- it under the terms of the GNU General Public License as published by | |
| -- the Free Software Foundation; either version 2 of the License, or | |
| -- (at your option) any later version. | |
| -- | |
| -- This program is distributed in the hope that it will be useful, | |
| -- but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| """ | |
| Create an OMERO Dataset from the command line | |
| Adapted from OME forum post of "Josh Moore <josh@glencoesoftware.com>": | |
| * http://www.openmicroscopy.org/community/viewtopic.php?f=4&t=602 | |
| Copyright (C) 2013 Glencoe Software, Inc. | |
| All rights reserved. |
This file contains hidden or 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
| apply plugin: 'application' | |
| apply plugin: 'java' | |
| mainClassName = 'ome.formats.importer.cli.CommandLineImporter' | |
| def javaOpts = [ | |
| '-Dlog4j.configuration=log4j-cli.properties', | |
| '-Xmx512M' | |
| ] |
This file contains hidden or 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
| apply plugin: 'application' | |
| apply plugin: 'java' | |
| apply plugin: 'eclipse' | |
| mainClassName = 'ome.formats.importer.cli.CommandLineImporter' | |
| def javaOpts = [ | |
| '-Dlog4j.configuration=log4j-cli.properties', | |
| '-Xmx512M' | |
| ] |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| """ | |
| Create OMERO annotations on an Image from the command line | |
| Copyright (C) 2014 Glencoe Software, Inc. | |
| All rights reserved. | |
| Redistribution and use in source and binary forms, with or without | |
| modification, are permitted provided that the following conditions are met: |
This file contains hidden or 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
| from flask import Flask | |
| from flask.ext.mongoengine import MongoEngine | |
| from flask.ext.security import Security, MongoEngineUserDatastore, \ | |
| UserMixin, RoleMixin, login_required | |
| from flask.ext.principal import Principal | |
| # Create app | |
| app = Flask(__name__) | |
| app.config['DEBUG'] = True |
This file contains hidden or 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
| from flask import Flask | |
| from flask.ext.mongoengine import MongoEngine | |
| from flask.ext.security import Security, MongoEngineUserDatastore, \ | |
| UserMixin, RoleMixin, login_required | |
| from flask.ext.principal import Permission, RoleNeed | |
| # Create app | |
| app = Flask(__name__) | |
| app.config['DEBUG'] = True |
This file contains hidden or 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
| """ | |
| """ | |
| import sys | |
| from setuptools import setup, find_packages | |
| from setuptools.command.test import test as TestCommand | |
| class PyTest(TestCommand): |