The Wayback Machine - https://web.archive.org/web/20211110134311/https://github.com/topics/closember
Skip to content
#

closember

Here are 44 public repositories matching this topic...

pelican
smartass101
smartass101 commented May 13, 2014

While working on my i18n_subsites plugin, I came up with an idea how to simplify some code that is often used in Pelican: doing stuff with a temporarily different locale.
This could be neatly solved by a context manager:

from contextlib import contextmanager
import locale

@contextmanager
def temporary_locale(temp_locale=None):
    '''Enable code to run in a context with a temporary lo
thanos
poldap
poldap commented Aug 2, 2021

scipy.signal.bspline gives zero output for integer types. This also affects quadratic and cubic.

Reproducing code example:

An example of an incorrect result

>>> from scipy.signal import bspline, quadratic, cubic
>>> bspline(np.array([-3,-2,-1,0,1,2,3]), 6)
array([0, 0, 0, 0, 0, 0, 0])

What was expected

>>> bspline(np.array([-3,-2,-1,0,1,2,3]).astype(float), 6)
array
kloczek
kloczek commented May 17, 2021
$ PYTHONPATH=$PWD sphinx-build -b man -d traitlets docs/source .
Running Sphinx v3.5.4
Initializing GitHub plugin
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [man]: all manpa
yarikoptic
yarikoptic commented Aug 12, 2021

During local tests got following test failure

======================================================================
ERROR: datalad.downloaders.tests.test_s3.test_restricted_bucket_on_NDA('s3://NDAR_Central_4/submission_23075/README', 'error', 'BIDS')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/url
djhoese
djhoese commented Feb 22, 2021

Code Sample, a minimal, complete, and verifiable piece of code

from pyresample.boundary import Boundary
b = Boundary(my_lons, my_lats)
print(b.contour_poly.area())

Problem description

The above code doesn't fail if the provided lons/lats are 2D (not sure on 3D+), but the class and all functions/utilities underneath it assume 1D arrays. The end results are incor

radis
erwanp
erwanp commented Oct 26, 2021

🎯 Describe what you'd like

As mentioned in #35, PySpeckit and Specutils are two spectroscopy-related librairies, with post-processing and fitting abilities. Following a recent call in the Astropy community to gather spectroscopy-related efforts, the goal is to build bridges to/from these librairies.

Radis could benef

Improve this page

Add a description, image, and links to the closember topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the closember topic, visit your repo's landing page and select "manage topics."

Learn more