semvec/pypi-packages huggingface dataset:
scipion-em-spoc 1.0.6
Plugin to use SPOC programs within the Scipion framework
Keywords: scipion electron-microscopy cryo-em structural-biology image-processing scipion-3.0

========================
SPOC plugin
========================

This plugin provide wrappers around several programs of `SPOC <https://github.com/MaximilianBeckers/SPOC>`_.

+------------------+------------------+
| stable: |stable| | devel: | |devel| |
+------------------+------------------+

.. |stable| image:: http://scipion-test.cnb.csic.es:9980/badges/eman2_prod.svg
.. |devel| image:: http://scipion-test.cnb.csic.es:9980/badges/eman2_sdevel.svg


Installation
------------

You will need to use `3.0 <https://github.com/I2PC/scipion/releases/tag/V3.0.0>`_ version of Scipion to be able to run these protocols. To install the plugin, you have two options:

a) Stable version (not avalaible yet)

.. code-block::

    scipion installp -p scipion-em-spoc

b) Developer's version

    * download repository

    .. code-block::

        git clone https://github.com/scipion-em/scipion-em-spoc.git

    * install

    .. code-block::

        scipion installp -p path_to_scipion-em-spoc --devel

SPOC binaries will be installed automatically with the plugin.

* Default installation path assumed is ``software/em/spoc-1.0``, if you want to change it, set *SPOC_HOME* in ``scipion.conf`` file pointing to the folder where the SPOC is installed.

To check the installation, simply run one of the following Scipion tests:

.. code-block::

   scipion3 tests spoc.tests.test_protocols_spoc.TestFscFdrControl

A complete list of tests can also be seen by executing ``scipion test --show --grep spoc``

Supported versions
------------------

* 1.0

Protocols
---------

* FSC_FDR Control

References
----------

1. Beckers, M., Jakobi, A. J., Sachse, C. (2019) Thresholding of cryo-EM density maps by false discovery rate control. IUCr Journal 6 (1)
django-appointment-ds 0.1.5
appointment part for demiansoft
Requires Python: >=3.8

django-appointment_ds
==========

django-appointment_ds is a Django app to use for demiansoft.

Quick start
------------

1. Add "appointment" to your INSTALLED_APPS setting like this
```python
INSTALLED_APPS = [
    ...
    'appointment',
]
```
    
2. 코드를 넣고자 하는 위치에 다음을 추가 한다.
```html
{% load appointment_tags %}
{% make_appointment %}
```

3. post 메시지 처리를 위한 make_post_context 함수를 사용한다.(테마 앱의 views.py 안의 buildup 함수에 추가한다.)
```python
from appointment.templatetags.appointment_tags import make_post_context

...
if request.method == 'GET':
    return render(request, f"mentor_ds/base.html", context)
elif request.method == "POST":
    context.update(make_post_context(request.POST, context['basic_info']['consult_email']))
    return render(request, f"mentor_ds/base.html", context)
```

* context example
```python
context = {
        "color": "default",
        "theme": "mentor_ds",
        "naver": "https://booking.naver.com/booking/13/bizes/441781",   # None으로 설정시 버튼 안보임
        'basic_info': {
            'consult_email': 'hj3415@gmail.com'
        }
    }
```

* Required vendor - jquery

* contact 에 포함된 appointment 폼을 추출하는 경우 - 따로 appointment 섹션이 없기 때문에 css 파일과 html 파일의 contact 에서 php-email-form 파트를
 추출 하여 .contact 을 .appointment 로 .php-email-form 을 .email-form 으로 일괄 변환 한다.