language
stringclasses
2 values
func_code_string
stringlengths
63
466k
java
public Set<CmsResource> getResourcesForPrincipal( CmsUUID principalId, CmsPermissionSet permissions, boolean includeAttr) throws CmsException { return m_securityManager.getResourcesForPrincipal(getRequestContext(), principalId, permissions, includeAttr); }
java
public static RoaringBitmap naive_or(Iterator<? extends RoaringBitmap> bitmaps) { RoaringBitmap answer = new RoaringBitmap(); while (bitmaps.hasNext()) { answer.naivelazyor(bitmaps.next()); } answer.repairAfterLazy(); return answer; }
java
public void configure(int iterations, int burnIn, int thinInterval, int sampleLag) { ITERATIONS = iterations; BURN_IN = burnIn; THIN_INTERVAL = thinInterval; SAMPLE_LAG = sampleLag; }
java
public boolean next() throws EFapsException { initialize(false); boolean stepForward = true; boolean ret = true; while (stepForward && ret) { ret = step(this.selection.getAllSelects()); stepForward = !this.access.hasAccess(inst()); } re...
python
def p_iteration_statement_6(self, p): """ iteration_statement \ : FOR LPAREN VAR identifier initializer_noin IN expr RPAREN statement """ vardecl = self.asttypes.VarDeclNoIn( identifier=p[4], initializer=p[5]) vardecl.setpos(p, 3) p[0] = self.asttype...
java
public static void normalize2Prop(float[] c) { float sum = sum(c); if (sum == 0) return; for (int i = 0; i < c.length; i++) { c[i] = c[i] / sum; } }
python
def null_technical_500_response(request, exc_type, exc_value, tb, status_code=500): """ Alternative function for django.views.debug.technical_500_response. Django's convert_exception_to_response() wrapper is called on each 'Middleware' object to avoid leaking exceptions. If an uncaught exception is rai...
python
def getTotalPaid(self, auction_id, buyer_id): """Return total paid from buyer on single auction.""" # TODO: it has to be better way to check payments. date_end = long(time.time()) date_start = date_end - 60 * 60 * 24 * 90 rc = self.__ask__('doGetMyIncomingPayments', ...
java
public com.google.api.ads.admanager.axis.v201808.Money getDfpRevenue() { return dfpRevenue; }
python
def spi_configure(self, polarity, phase, bitorder): """Configure the SPI interface.""" ret = api.py_aa_spi_configure(self.handle, polarity, phase, bitorder) _raise_error_if_negative(ret)
python
def client_id_from_id_token(id_token): """ Extracts the client id from a JSON Web Token (JWT). Returns a string or None. """ payload = JWT().unpack(id_token).payload() aud = payload.get('aud', None) if aud is None: return None if isinstance(aud, list): return aud[0] r...
java
public static boolean deleteDir(Path targetDirPath) { debug(log, "deleteDir", targetDirPath); return deleteBulkThenFalseList( JMCollections.getReversed(JMPath.getSubPathList(targetDirPath))) .size() == 0 && delete(targetDirPath); }
python
def read(self, start_position: int, size: int) -> memoryview: """ Return a view into the memory """ return memoryview(self._bytes)[start_position:start_position + size]
python
def detach_remote(self, id, name): """ destroy remote instance of widget Arguments: - id (str): widget id - name (str): widget type name """ if name in self.widgets: if id in self.widgets[name]: del self.widgets[name]
java
private JsonMessageValidationContext getJsonMessageValidationContext(Element messageElement) { JsonMessageValidationContext context = new JsonMessageValidationContext(); if (messageElement != null) { Set<String> ignoreExpressions = new HashSet<String>(); List<?> ignoreElements =...
python
def _hp_ars(x,params): """d ln p(Omega) / d Omega for ARS""" mO, sO2= params return -(x-mO)/sO2+1./x
java
public static void mergeNodeChildren(TreeNode node) { DefaultMutableTreeNode masterNode = (DefaultMutableTreeNode) node; // The rules are there are no rules. Nothing else needs to be done // except for merging through the children for (int i = 0; i < masterNode.getChildCount(); i++) { ...
python
def use_comparative_composition_repository_view(self): """Pass through to provider CompositionRepositorySession.use_comparative_composition_repository_view""" self._repository_view = COMPARATIVE # self._get_provider_session('composition_repository_session') # To make sure the session is tracked ...
python
def canparse(argparser, args): """Determines if argparser can parse args.""" old_error_method = argparser.error argparser.error = _raise_ValueError try: argparser.parse_args(args) except ValueError: return False else: return True finally: argparser.error = old...
java
public TypeSerializer<T> getElementSerializer() { // call getSerializer() here to get the initialization check and proper error message final TypeSerializer<List<T>> rawSerializer = getSerializer(); if (!(rawSerializer instanceof ListSerializer)) { throw new IllegalStateException(); } return ((ListSeriali...
java
private BaseDescr lhsUnary( final CEDescrBuilder< ? , ? > ce, boolean allowOr ) throws RecognitionException { BaseDescr result = null; if ( helper.validateIdentifierKey( DroolsSoftKeywords.EXISTS ) ) { result = lhsExists( ce, al...
python
def list(self, where): ''' List the current schedule items ''' if where == 'pillar': schedule = self._get_schedule(include_opts=False) elif where == 'opts': schedule = self._get_schedule(include_pillar=False) else: schedule = self._get_...
java
public static void deleteMetadata(GeoPackageCore geoPackage, String table) { MetadataReferenceDao metadataReferenceDao = geoPackage .getMetadataReferenceDao(); try { if (metadataReferenceDao.isTableExists()) { metadataReferenceDao.deleteByTableName(table); } } catch (SQLException e) { throw new ...
java
public void accessRestriction_backupCode_DELETE() throws IOException { String qPath = "/me/accessRestriction/backupCode"; StringBuilder sb = path(qPath); exec(qPath, "DELETE", sb.toString(), null); }
python
def from_gpx(file_path): """ Creates a Track from a GPX file. No preprocessing is done. Arguments: file_path (str): file path and name to the GPX file Return: :obj:`list` of :obj:`Track` """ gpx = gpxpy.parse(open(file_path, 'r')) file_na...
java
public static Manager getManager(ServletContext servletContext) { Object managerObject = servletContext.getAttribute(SimonUtils.MANAGER_SERVLET_CTX_ATTRIBUTE); Manager manager = null; if (managerObject instanceof Manager) { manager =(Manager) managerObject; } return manager; }
java
private void visitAndMerge(final Document document, File targetFile) throws IOException, DocumentException { SAXReader reader = new SAXReader(); reader.setValidation(false); org.dom4j.Document doc = reader.read(targetFile); final org.dom4j.Element rootElement = doc.getRootElement(); rootElement.acce...
java
protected String getResourcePath(CmsObject cms, I_CmsWidgetDialog dialog) { String result = null; if (dialog instanceof CmsDummyWidgetDialog) { result = ((CmsDummyWidgetDialog)dialog).getResource().getRootPath(); } else if (dialog instanceof CmsDialog) { result = ((CmsDi...
java
public final void printClientConfig(final JSONWriter json) throws JSONException { json.key("layouts"); json.array(); final Map<String, Template> accessibleTemplates = getTemplates(); accessibleTemplates.entrySet().stream().sorted(Comparator.comparing(Map.Entry::getKey)) ....
python
def clean(docs=False, bytecode=False, extra=''): '''Cleanup all build artifacts''' patterns = ['build', 'dist', 'cover', 'docs/_build', '**/*.pyc', '*.egg-info', '.tox', '**/__pycache__'] for pattern in patterns: print('Removing {0}'.format(pattern)) lrun('rm -rf {0}'.format(pattern))
java
public EClass getIfcVirtualGridIntersection() { if (ifcVirtualGridIntersectionEClass == null) { ifcVirtualGridIntersectionEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(639); } return ifcVirtualGridIntersectionEClass; }
python
def create(self, **attributes): """ Create a collection of models and persist them to the database. :param attributes: The models attributes :type attributes: dict :return: mixed """ results = self.make(**attributes) if self._amount == 1: if...
python
def data_raw(self): """Get the raw static data for the current game. Prefer `data` instead.""" return self._client.send(data=sc_pb.RequestData( ability_id=True, unit_type_id=True))
python
def __get_python_indices_for_key(self, key, list_of_entries): ''' Finds the indices of all entries that have a specific type. Important: This method finds the python indices of the list of entries! These are not the Handle System index values! :param key: The key (Handle...
python
def from_timestamp_pb(cls, stamp): """Parse RFC 3339-compliant timestamp, preserving nanoseconds. Args: stamp (:class:`~google.protobuf.timestamp_pb2.Timestamp`): timestamp message Returns: :class:`DatetimeWithNanoseconds`: an instance matching the times...
python
def TakeIf(self: Iterable, f): """ [ { 'self': [1, 2, 3], 'f': lambda e: e%2, 'assert': lambda ret: list(ret) == [1, 3] } ] """ if is_to_destruct(f): f = destruct_func(f) return (e for e in self if f(e))
java
public synchronized void createConnection() { if (scribeClient != null) { try { connectionRetries.incrementAndGet(); scribeClient.closeLogger(); scribeClient.openLogger(); isClosed.set(false); log.info("Connection t...
python
def new(self, bootstrap_with=None, use_timer=False, with_proof=False): """ Actual constructor of the solver. """ if not self.lingeling: self.lingeling = pysolvers.lingeling_new() if bootstrap_with: for clause in bootstrap_with: ...
java
@Check public void checkFinalFieldInitialization(SarlEvent event) { final JvmGenericType inferredType = this.associations.getInferredType(event); if (inferredType != null) { checkFinalFieldInitialization(inferredType); } }
python
def Model(self): """Bind model to self database.""" Model_ = self.app.config['PEEWEE_MODELS_CLASS'] meta_params = {'database': self.database} if self.slaves and self.app.config['PEEWEE_USE_READ_SLAVES']: meta_params['read_slaves'] = self.slaves Meta = type('Meta', ()...
java
public void init(CmsUpdateUI ui, boolean hasPrev, boolean hasNext) { m_ui = ui; if (hasPrev) { m_back = getBackButton(); m_back.addClickListener(new ClickListener() { private static final long serialVersionUID = 1L; public void buttonClick(Clic...
python
def _safe_gremlin_argument(expected_type, argument_value): """Return a Gremlin string representing the given argument value.""" if GraphQLString.is_same_type(expected_type): return _safe_gremlin_string(argument_value) elif GraphQLID.is_same_type(expected_type): # IDs can be strings or number...
java
public static DeterministicKey deriveThisOrNextChildKey(DeterministicKey parent, int childNumber) { int nAttempts = 0; ChildNumber child = new ChildNumber(childNumber); boolean isHardened = child.isHardened(); while (nAttempts < MAX_CHILD_DERIVATION_ATTEMPTS) { try { ...
java
public static Iterable<BoxRetentionPolicy.Info> getAll( String name, String type, String userID, int limit, final BoxAPIConnection api, String ... fields) { QueryStringBuilder queryString = new QueryStringBuilder(); if (name != null) { queryString.appendParam("policy_name", n...
python
def interfacesFor(self, powerup): """ Return an iterator of the interfaces for which the given powerup is installed on this object. This is not implemented for in-memory powerups. It will probably fail in an unpredictable, implementation-dependent way if used on one. ""...
java
public static void removeCookie( HttpServletRequest request, HttpServletResponse response, String cookieName, boolean secure, boolean contextOnlyPath ) { addCookie(request, response, cookieName, "Removed", null, 0, secure, contextOnlyPath); }
java
public static String fixFilePath(String source, String separator) { if (source == null) return null; StringBuilder dest = new StringBuilder(DBConstants.BLANK); for (int i = 0; i < source.length(); i++) { if (source.charAt(i) == '/') dest.append(separator);...
java
private StereoEncoderFactory makeStereoEncoderFactory() { if (stereoEncoders.isEmpty()) { return StereoEncoderFactory.EMPTY; } else if (stereoEncoders.size() == 1) { return stereoEncoders.get(0); } else { StereoEncoderFactory factory = new ConjugatedEncoderFac...
java
public static Batch removeShipments(String id, String[] shipmentIds) throws AuthenticationException, InvalidRequestException, APIConnectionException, APIException { Map<String, Object> params = new HashMap<String, Object>(); params.put("__list", shipmentIds); return request(RequestMethod.POST, instanceURL(Batc...
python
def close(self): """Cleanly shutdown the connection to RabbitMQ :raises: sprockets.mixins.amqp.ConnectionStateError """ if not self.closable: LOGGER.warning('Closed called while %s', self.state_description) raise ConnectionStateError(self.state_description) ...
java
@Deprecated public void trace(Object message, Object[] params) { doLog(Level.TRACE, FQCN, message, params, null); }
java
private boolean tryRelease(long c, WorkQueue v, long inc) { int sp = (int)c, ns = sp & ~UNSIGNALLED; if (v != null) { int vs = v.scanState; long nc = (v.stackPred & SP_MASK) | (UC_MASK & (c + inc)); if (sp == vs && U.compareAndSwapLong(this, CTL, c, nc)) { ...
java
public static <T> DecomposableMatchBuilder1<T, T> caseThat(org.hamcrest.Matcher<T> matcher) { @SuppressWarnings("unchecked") List<Matcher<Object>> matchers = Lists.of((Matcher<Object>) HamcrestMatcher.of(matcher)); return new DecomposableMatchBuilder1<>(matchers, 0, new IdentityFieldExtractor<>()); }
python
def _encode_caveat_v2_v3(version, condition, root_key, third_party_pub_key, key, ns): '''Create a version 2 or version 3 third-party caveat. The format has the following packed binary fields (note that all fields up to and including the nonce are the same as the v2 format): ...
java
@Override protected boolean validatePassword(StandardCredentials requestCredentials, StandardCredentials storedCredentials) { final String storedPassword = storedCredentials.getPassword(); final String username = requestCredentials.getUsername(); final String password = requestCredentials.ge...
java
public void setOperationInfos(JmxOperationInfo[] operationInfos) { if (this.operationInfos == null) { this.operationInfos = arrayToList(operationInfos); } else { for (JmxOperationInfo opertionInfo : operationInfos) { this.operationInfos.add(opertionInfo); } } }
python
def salt_spm(): ''' The main function for spm, the Salt Package Manager .. versionadded:: 2015.8.0 ''' import salt.cli.spm spm = salt.cli.spm.SPM() # pylint: disable=E1120 spm.run()
java
public void addSpace(String spaceID, Map<String, AclType> userACLs, String storeID) throws ResourceException, InvalidIdException { IdUtil.validateSpaceId(spaceID); try { StorageProvider storage = storageProviderFactory.getStorageProvider(storeID); storage.createSpace(spa...
java
public final void classDeclaration() throws RecognitionException { int classDeclaration_StartIndex = input.index(); try { if ( state.backtracking>0 && alreadyParsedRule(input, 6) ) { return; } // src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:294:5: ( normalClassDeclaration | enumDeclar...
python
def build_summary(val1=None, val2=None, val3=None): """ Constructs the summary given va1, va2, val3 Args: val1: val2: val3: Returns: """ summary = [] if val1 is not None: summary.append(val1) if val2 is no...
java
public void marshall(RemoveLayerVersionPermissionRequest removeLayerVersionPermissionRequest, ProtocolMarshaller protocolMarshaller) { if (removeLayerVersionPermissionRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { pr...
java
public void marshall(SharedImagePermissions sharedImagePermissions, ProtocolMarshaller protocolMarshaller) { if (sharedImagePermissions == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(sharedImagePe...
python
def delete_logtail_config(self, project_name, config_name): """ delete logtail config in a project Unsuccessful opertaion will cause an LogException. :type project_name: string :param project_name: the Project name :type config_name: string :param config_name: ...
java
@Override protected char[] escape(int cp) { // We should never get negative values here but if we do it will throw an // IndexOutOfBoundsException, so at least it will get spotted. if (cp < safeOctets.length && safeOctets[cp]) { return null; } else if (cp == ' ' && plusForSpace) { return P...
python
def _getAttr(self, attr): """ Subclasses may override this method. If a subclass does not override this method, it must implement '_get_attributeName' methods for all Info methods. """ meth = "_get_%s" % attr if not hasattr(self, meth): raise ...
java
public void marshall(ListOnPremisesInstancesRequest listOnPremisesInstancesRequest, ProtocolMarshaller protocolMarshaller) { if (listOnPremisesInstancesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshalle...
python
def _get_regional_bed_file(data): """If we are running a non-genome analysis, pull the regional file for analysis. """ variant_regions = bedutils.merge_overlaps(tz.get_in(["config", "algorithm", "variant_regions"], data), data) is_genome = data["config"]["al...
java
@Override public Response loadUploadedZippedApplicationTemplate( InputStream uploadedInputStream, FormDataContentDisposition fileDetail ) { this.logger.fine( "Request: load application from an uploaded ZIP file (" + fileDetail.getFileName() + ")." ); File tempZipFile = new File( System.getProperty( "java.io.tmpdi...
python
def get_default_config(self): """ Returns the default collector settings """ config = super(NetscalerSNMPCollector, self).get_default_config() config.update({ 'path': 'netscaler', 'timeout': 15, 'exclude_service_type': [], 'exc...
python
def write_addons_items(xml_tree, records, app_id, api_ver=3, app_ver=None): """Generate the addons blocklists. <emItem blockID="i372" id="5nc3QHFgcb@r06Ws9gvNNVRfH.com"> <versionRange minVersion="0" maxVersion="*" severity="3"> <targetApplication id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"> ...
java
@Generated(value={"com.threerings.presents.tools.GenDObjectTask"}) public void updateLocks (NodeObject.Lock elem) { requestEntryUpdate(LOCKS, locks, elem); }
java
protected void closeStartTag() throws IOException { if (finished) { throw new IllegalArgumentException("trying to write past already finished output" + getLocation()); } if (seenBracket) { seenBracket = seenBracketBracket = false; } if (startTagIncomplete || setPrefixCalled) { if (setPrefixCalled) { ...
python
def add_log_fields(self, fields: Dict[str, Any]): """Add the provided log fields If a key is already present, then it is ignored. :param fields: the log fields to add """ self._log_fields.add_fields(fields)
java
public java.util.List<String> getGrantTokens() { if (grantTokens == null) { grantTokens = new com.ibm.cloud.objectstorage.internal.SdkInternalList<String>(); } return grantTokens; }
java
public void setGeoTargeting(com.google.api.ads.adwords.axis.v201809.cm.Location geoTargeting) { this.geoTargeting = geoTargeting; }
python
def show_options(self, option=None, _global=False): """ Return a dict of options for the window. For familiarity with tmux, the option ``option`` param forwards to pick a single option, forwarding to :meth:`Session.show_option`. Parameters ---------- option : st...
java
public static SanitizedContent emptyString(ContentKind kind) { if (kind == ContentKind.TEXT) { return UnsanitizedString.create(""); } return SanitizedContent.create("", kind, Dir.NEUTRAL); // Empty string is neutral. }
java
protected void build(XMLNode node, Content contentTree) throws DocletException { String component = node.name; try { String methodName = "build" + component; if (DEBUG) { configuration.reporter.print(ERROR, "DEBUG: " + getClass().getName() ...
python
def to_ufo_paths(self, ufo_glyph, layer): """Draw .glyphs paths onto a pen.""" pen = ufo_glyph.getPointPen() for path in layer.paths: # the list is changed below, otherwise you can't draw more than once # per session. nodes = list(path.nodes) for node in nodes: s...
python
def fullData(master): """ Send the actual configuration of the builders, how the steps are agenced. Note that full data will never send actual detail of what command is run, name of servers, etc. """ builders = [] for b in master.config.builders: steps = [] for step in b...
java
public static JsStatement hover(Component component) { component.setOutputMarkupId(true); return new JsQuery(component).$().chain("hover", "function() { $(this).addClass('ui-state-hover'); }", "function() { $(this).removeClass('ui-state-hover'); }"); }
python
def format_page(self, page, link_resolver, output, extensions): """ Banana banana """ info('formatting %s' % page.source_file, 'formatting') extension = extensions[page.extension_name] extension.format_page(page, link_resolver, output)
java
public Set<T> types() { // NOTE: purely unoptimized! Set<T> types = new HashSet<T>(); for (Object o : edges.values()) { Set<T> s = (Set<T>)o; types.addAll(s); } return types; }
java
public static Collector<Triple, ?, Graph> toGraph() { return of(rdf::createGraph, Graph::add, (left, right) -> { right.iterate().forEach(left::add); return left; }, UNORDERED); }
python
def match_class_glob(_class, saltclass_path): ''' Takes a class name possibly including `*` or `?` wildcards (or any other wildcards supportet by `glob.glob`) and returns a list of expanded class names without wildcards. .. code-block:: python classes = match_class_glob('services.*', '/srv/salt...
python
def setValues(self, values): """ Set the values of a DataFrame from a dictionary. Args: values: Dictionary with the values to set. """ ncols = self.getNumCols() nindices = self.getNumIndices() for key, value in values.items(): key = Utils....
java
protected static PathAddress transformAddress(final PathAddress original, final TransformationTarget target) { final List<PathAddressTransformer> transformers = target.getPathTransformation(original); final Iterator<PathAddressTransformer> transformations = transformers.iterator(); final PathAdd...
java
public void build(final Class<?> clazz, final Field field, final DeviceImpl device, final Object businessObject) throws DevFailed { xlogger.entry(); try { // Inject each device property final DeviceProperty annot = field.getAnnotation(DeviceProperty.class); ...
java
public DateTimeFormatterBuilder appendChronologyText(TextStyle textStyle) { Jdk8Methods.requireNonNull(textStyle, "textStyle"); appendInternal(new ChronoPrinterParser(textStyle)); return this; }
java
private void afterSet(E element) { switch(_lastCall) { case NEXT: _previousNode = _stack.getListNode(_lastId); break; case PREVIOUS: _nextNode = _stack.getListNode(_lastId); break; default: throw ...
python
def get_all_comments_of_offer(self, offer_id): """ Get all comments of offer This will iterate over all pages until it gets all elements. So if the rate limit exceeded it will throw an Exception and you will get nothing :param offer_id: the offer id :return: list ...
python
def parsemeta(metadataloc): """Parses the metadata from a Landsat image bundle. Arguments: metadataloc: a filename or a directory. Returns metadata dictionary """ # filename or directory? if several fit, use first one and warn if os.path.isdir(metadataloc): me...
java
public static String getName(ObjectIdentifier oid) { OIDInfo info = oidMap.get(oid); return (info == null) ? null : info.name; }
python
def get_all_outgoings(chebi_ids): '''Returns all outgoings''' all_outgoings = [get_outgoings(chebi_id) for chebi_id in chebi_ids] return [x for sublist in all_outgoings for x in sublist]
java
public void initContext(Context ctx) { // 模板静态文本部分 ctx.staticTextArray = staticTextArray; // 模板各种缓存存放地 // 临时标量所在空间 ctx.tempVarStartIndex = tempVarStartIndex; // 分配变量空间,最后一个为模板的返回值 ctx.vars = new Object[varIndexSize + 1]; ctx.vars[varIndexSize] = Context.NOT_EXIST_OBJECT; // 将全局变量放到数组 ...
python
def straight_line_show(title, length=100, linestyle="=", pad=0): """Print a formatted straight line. """ print(StrTemplate.straight_line( title=title, length=length, linestyle=linestyle, pad=pad))
python
def authorize(login, password, scopes, note='', note_url='', client_id='', client_secret='', two_factor_callback=None): """Obtain an authorization token for the GitHub API. :param str login: (required) :param str password: (required) :param list scopes: (required), areas you want this tok...
python
def tile_and_concat(image, latent, concat_latent=True): """Tile latent and concatenate to image across depth. Args: image: 4-D Tensor, (batch_size X height X width X channels) latent: 2-D Tensor, (batch_size X latent_dims) concat_latent: If set to False, the image is returned as is. Returns: con...
python
def obs(self, with_values=True, with_attributes=True): ''' return an iterator over observations in a flat dataset. An observation is represented as a namedtuple with 3 fields ('key', 'value', 'attrib'). obs.key is a namedtuple of dimensions. Its field names represent dimension name...
python
def writeAnn(filename, catalog, fmt): """ Write an annotation file that can be read by Kvis (.ann) or DS9 (.reg). Uses ra/dec from catalog. Draws ellipses if bmaj/bmin/pa are in catalog. Draws 30" circles otherwise. Only :class:`AegeanTools.models.OutputSource` will appear in the annotation file ...