Removes card from gssha project file
424052
def deleteCard(self, card_name, db_session):
        
        card_name = card_name.upper()
        gssha_card = self.getCard(card_name)
        if gssha_card is not None:
            db_session.delete(gssha_card)
            db_session.commit()
889543
def _delete_existing(self, project_file, session):
        
        # remove existing grid if exists
        existing_elev = session.query(RasterMapFile).\
                                      filter(RasterMapFile.projectFile == project_file).\
                                      filter(RasterMapFile.fileExtension == self.fileExtension).\
                                      all()
        if existing_elev:
            session.delete(existing_elev)
            session.commit()
592483
def remove_sbi_id(self, sbi_id):
        """"""
        sbi_ids = self.sbi_ids
        sbi_ids.remove(sbi_id)
        DB.set_hash_value(self._key, 'sbi_ids', sbi_ids)
1205247
def remove(self):
        
        self.clean()
        if os.path.isfile(self.schema_zip_file):
            os.remove(self.schema_zip_file)
        if os.path.isdir(self.schema_root_dir) and \
                os.listdir(self.schema_root_dir) == []:
            os.rmdir(self.schema_root_dir)
877620
def remove(self):
        

        if self._multiscat is None:
            return

        self._multiscat.deallocate(self.id)
        self._multiscat = None

        self._viewer_state.remove_global_callback(self._update_scatter)
        self.state.remove_global_callback(self._update_scatter)
322204
def unlink(self):
        """"""
        if os.name == "posix":
            self.__linux_unlink__()
        elif os.name == "nt":
            self.__windows_unlink__()
        else:
            raise HolodeckException("Currently unsupported os: " + os.name)
468420
function removeAppFolderItem(itemPath) {
  const resolvedFolderPath = path.join(path.resolve(tmp), 'src', 'app', itemPath);
  return fs.remove(resolvedFolderPath);
}
946781
def delete(customer, card):
        
        if isinstance(customer, resources.Customer):
            customer = customer.id
        if isinstance(card, resources.Card):
            card = card.id

        http_client = HttpClient()
        http_client.delete(routes.url(routes.CARD_RESOURCE, resource_id=card, customer_id=customer))
1326530
def delete(method, hmc, uri, uri_parms, logon_required):
        """"""
        try:
            metrics_context = hmc.lookup_by_uri(uri)
        except KeyError:
            raise InvalidResourceError(method, uri)
        hmc.metrics_contexts.remove(metrics_context.oid)
530941
def OnRemoveCards(self, removedcards):
        """"""
        parentnode = self.root
        for cardtoremove in removedcards:
            (childCard, cookie) = self.GetFirstChild(parentnode)
            while childCard.IsOk():
                if self.GetItemText(childCard) == \
                        toHexString(cardtoremove.atr):
                    self.Delete(childCard)
                (childCard, cookie) = self.GetNextChild(parentnode, cookie)
        self.Expand(self.root)
        self.EnsureVisible(self.root)
        self.Repaint()
815464
def remove(self, name):
        """"""
        cpu_transforms = self._remove_transform(self.cpu_transforms, name)
        gpu_transforms = self._remove_transform(self.gpu_transforms, name)
        return (TransformChain().add_on_cpu(cpu_transforms).
                add_on_gpu(gpu_transforms))
160937
protected void removeBatchBy(int removeIdx) {
        if (mGroupBasicAdapter != null) {
            Pair<Range<Integer>, Card> cardPair = mGroupBasicAdapter.getCardRange(removeIdx);
            if (cardPair != null) {
                removeBatchBy(cardPair.second);
            }
        }
    }
310496
function removeWildcardFilesWithLowerPriorityExtension(file, wildcardFiles, extensions, keyMapper) {
        var extensionPriority = ts.getExtensionPriority(file, extensions);
        var nextExtensionPriority = ts.getNextLowestExtensionPriority(extensionPriority);
        for (var i = nextExtensionPriority; i < extensions.length; i++) {
            var lowerPriorityExtension = extensions[i];
            var lowerPriorityPath = keyMapper(ts.changeExtension(file, lowerPriorityExtension));
            delete wildcardFiles[lowerPriorityPath];
        }
    }
1340953
void remove(long hashEntryAdr, long expireAt)
    {
        int slot = slot(expireAt);
        slots[slot].remove(hashEntryAdr);
    }
1034361
function removeFileNameHash(fileName) {
  return fileName
    .replace(paths.appBuild, '')
    .replace(/\/?(.*)(\.\w+)(\.js|\.css)/, (match, p1, p2, p3) => p1 + p3);
}
807860
def destroy_work_item(self, id, project=None):
        
        route_values = {}
        if project is not None:
            route_values['project'] = self._serialize.url('project', project, 'str')
        if id is not None:
            route_values['id'] = self._serialize.url('id', id, 'int')
        self._send(http_method='DELETE',
                   location_id='b70d8d39-926c-465e-b927-b1bf0e5ca0e0',
                   version='5.0',
                   route_values=route_values)
658646
def remove(self, uuid, project=None):
        
        uuid = uuid.split('@')[0]
        with self._lock:
            run(['task', 'rc.verbose=nothing', 'rc.data.location={self._data_location}'.format(**locals()), 'rc.confirmation=no', uuid, 'delete'])